<html>
	<head>
		<meta charset="utf-8"/>
		<title>BPainter</title>
		<link rel="stylesheet" type="text/css" href="../style.css"/>
	</head>
	<body>
		<h1>BPainter</h1>
		<p>Inherites from <a href="BObject.html">BObject</a></p>
		<h2>public</h2>
		<table id="public">
			<tr><td align="right"/><td><a href="#BPainter(const BWidget*)">BPainter</a>(const BWidget* widget);</td></tr>
			<tr><td align="right"/><td><a href="#BPainter(const BDisplay*)">BPainter</a>(const BDisplay* display);</td></tr>
			<tr><td align="right"/><td><a href="#~BPainter()">~BPainter</a>();</td></tr>
			<tr><td align="right">const BWidget* </td><td><a href="#widget()">widget</a>() const;</td></tr>
			<tr><td align="right">const BStyle* </td><td><a href="#style()">style</a>() const;</td></tr>
			<tr><td align="right">void </td><td><a href="#setClip(int, int, int, int)">setClip</a>(int x, int y, int width, int height);</td></tr>
			<tr><td align="right">void </td><td><a href="#setClip(const BRect&)">setClip</a>(const BRect& clip);</td></tr>
			<tr><td align="right">const BRect& </td><td><a href="#clip()">clip</a>() const;</td></tr>
			<tr><td align="right">bool </td><td><a href="#setColor(const BColor&)">setColor</a>(const BColor& color) const;</td></tr>
			<tr><td align="right">bool </td><td><a href="#setColor(BByte, BByte, BByte,BByte)">setColor</a>(BByte r, BByte g, BByte b, BByte a = 255) const;</td></tr>
			<tr><td align="right">bool </td><td><a href="#setColor(StyleRole)">setColor</a>(StyleRole colorRole) const;</td></tr>
			<tr><td align="right">bool </td><td><a href="#setColor(const char*)">setColor</a>(const char* colorName) const;</td></tr>
			<tr><td align="right">const BColor& </td><td><a href="#color()">color</a>() const;</td></tr>
			<tr><td align="right">void </td><td><a href="#setTexture(BTexture*)">setTexture</a>(BTexture* texture);</td></tr>
			<tr><td align="right">void </td><td><a href="#bind(BWidget*)">bind</a>(BWidget* widget);</td></tr>
			<tr><td align="right">void </td><td><a href="#bind(BCamera*)">bind</a>(BCamera* camera);</td></tr>
			<tr><td align="right">void </td><td><a href="#unbind()">unbind</a>();</td></tr>
			<tr><td align="right">void </td><td><a href="#setFont(const BFont*)">setFont</a>(const BFont* font);</td></tr>
			<tr><td align="right">const BFont* </td><td><a href="#font()">font</a>() const;</td></tr>
			<tr><td align="right">void </td><td><a href="#setPointSmooth(bool)">setPointSmooth</a>(bool pointSmooth);</td></tr>
			<tr><td align="right">bool </td><td><a href="#pointSmooth()">pointSmooth</a>() const;</td></tr>
			<tr><td align="right">void </td><td><a href="#setPointSize(int)">setPointSize</a>(int size);</td></tr>
			<tr><td align="right">int </td><td><a href="#pointSize()">pointSize</a>() const;</td></tr>
			<tr><td align="right">void </td><td><a href="#setLineSmooth(bool)">setLineSmooth</a>(bool lineSmooth);</td></tr>
			<tr><td align="right">bool </td><td><a href="#lineSmooth()">lineSmooth</a>() const;</td></tr>
			<tr><td align="right">void </td><td><a href="#setLineWidth(int)">setLineWidth</a>(int width);</td></tr>
			<tr><td align="right">int </td><td><a href="#lineWidth()">lineWidth</a>() const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawPoint(const BPoint&)">drawPoint</a>(const BPoint& point) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawPoint(int, int)">drawPoint</a>(int x, int y) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawLine(const BLine2&)">drawLine</a>(const BLine2& line) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawLine(const BPoint&, const BPoint&)">drawLine</a>(const BPoint& p0, const BPoint& p1) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawLine(int, int, int, int)">drawLine</a>(int x0, int y0, int x1, int y1) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawLines(const BPoint*, int)">drawLines</a>(const BPoint* points, int size) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawLines(const BPointArray&)">drawLines</a>(const BPointArray& points) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawLineLoop(const BPoint*, int)">drawLineLoop</a>(const BPoint* points, int size) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawLineLoop(const BPointArray&)">drawLineLoop</a>(const BPointArray& points) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawLineStrip(const BPoint*, int)">drawLineStrip</a>(const BPoint* points, int size) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawLineStrip(const BPointArray&)">drawLineStrip</a>(const BPointArray& points) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawTriangle(int, int, int, int, int, int)">drawTriangle</a>(int x0, int y0, int x1, int y1, int x2, int y2);</td></tr>
			<tr><td align="right">void </td><td><a href="#drawTriangle(const BPoint&, const BPoint&, const BPoint&)">drawTriangle</a>(const BPoint& p0, const BPoint& p1, const BPoint& p2);</td></tr>
			<tr><td align="right">void </td><td><a href="#fillTriangle(int, int, int, int, int, int)">fillTriangle</a>(int x0, int y0, int x1, int y1, int x2, int y2);</td></tr>
			<tr><td align="right">void </td><td><a href="#fillTriangle(const BPoint&, const BPoint&, const BPoint&)">fillTriangle</a>(const BPoint& p0, const BPoint& p1, const BPoint& p2);</td></tr>
			<tr><td align="right">void </td><td><a href="#drawRect(const BRect&)">drawRect</a>(const BRect& rect) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawRect(const BPoint&, const BSize&)">drawRect</a>(const BPoint& pos, const BSize& size) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawRect(int, int, int, int)">drawRect</a>(int x, int y, int width, int height) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#fillRect(const BRect&)">fillRect</a>(const BRect& rect) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#fillRect(const BPoint&, const BSize&)">fillRect</a>(const BPoint& pos, const BSize& size) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#fillRect(int, int, int, int)">fillRect</a>(int x, int y, int width, int height) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawPolygon(const BPoint*, int)">drawPolygon</a>(const BPoint* points, int size) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawPolygon(const BPointArray&)">drawPolygon</a>(const BPointArray& points) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#fillPolygon(const BPoint*, int)">fillPolygon</a>(const BPoint* points, int size) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#fillPolygon(const BPointArray&)">fillPolygon</a>(const BPointArray& points) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawCircle(int, int, int)">drawCircle</a>(int x, int y, int radius) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawCircle(const BPoint&, int)">drawCircle</a>(const BPoint& center, int radius) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#fillCircle(int, int, int)">fillCircle</a>(int cx, int cy, int radius) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#fillCircle(const BPoint&, int)">fillCircle</a>(const BPoint& center, int radius) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawEllipse(const BPoint&, int, int)">drawEllipse</a>(const BPoint& center, int radiusX, int radiusY) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawEllipse(int, int, int, int)">drawEllipse</a>(int x, int y, int width, int height) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawEllipse(const BPoint&, const BSize&)">drawEllipse</a>(const BPoint& pos, const BSize& size) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawEllipse(const BRect&)">drawEllipse</a>(const BRect& rect) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#fillEllipse(int, int, int, int)">fillEllipse</a>(int x, int y, int width, int height) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#fillEllipse(const BPoint&, const BSize&)">fillEllipse</a>(const BPoint& pos, const BSize& size) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#fillEllipse(const BRect&)">fillEllipse</a>(const BRect& rect) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawGraph(const BRect&, Graph)">drawGraph</a>(const BRect& rect, Graph graph);</td></tr>
			<tr><td align="right">void </td><td><a href="#fillGraph(const BRect&, Graph)">fillGraph</a>(const BRect& rect, Graph graph);</td></tr>
			<tr><td align="right">void </td><td><a href="#drawText(const BPoint&, const BString&)">drawText</a>(const BPoint& pos, const BString& text);</td></tr>
			<tr><td align="right">void </td><td><a href="#drawText(int, int, const BString&)">drawText</a>(int x, int y, const BString& text);</td></tr>
			<tr><td align="right">void </td><td><a href="#drawText(const BRect&, const BString&,bool)">drawText</a>(const BRect& rect, const BString& text, bool autoWrap = false) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawText(const BPoint&, const BSize&, const BString&,bool)">drawText</a>(const BPoint& pos, const BSize& size, const BString& text, bool autoWrap = false) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawText(int, int, int, int, const BString&,bool)">drawText</a>(int x, int y, int width, int height, const BString& text, bool autoWrap = false) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawText(const BRect&, const BString&, Align,bool)">drawText</a>(const BRect& rect, const BString& text, Align align, bool autoWrap = true) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawText(const BPoint&, const BSize&, const BString&, Align,bool)">drawText</a>(const BPoint& pos, const BSize& size, const BString& text, Align align, bool autoWrap = false) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawText(int, int, int, int, const BString&, Align,bool)">drawText</a>(int x, int y, int width, int height, const BString& text, Align align, bool autoWrap = false) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawImage(const BRect&, const BImage*,bool)">drawImage</a>(const BRect& rect, const BImage* image, bool wrapped = false) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawImage(const BPoint&, const BSize&, const BImage*,bool)">drawImage</a>(const BPoint& pos, const BSize& size, const BImage* image, bool wrapped = false) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawImage(int, int, int, int, const BImage*,bool)">drawImage</a>(int x, int y, int width, int height, const BImage* image, bool wrapped = false) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawGlyph(const BPoint&, const BGlyph*)">drawGlyph</a>(const BPoint& pos, const BGlyph* glyph) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawGlyph(int, int, const BGlyph*)">drawGlyph</a>(int x, int y, const BGlyph* glyph) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawGlyph(const BRect&, const BGlyph*)">drawGlyph</a>(const BRect& rect, const BGlyph* glyph) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawGlyph(const BPoint&, const BSize&, const BGlyph*)">drawGlyph</a>(const BPoint& pos, const BSize& size, const BGlyph* glyph) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawGlyph(int, int, int, int, const BGlyph*)">drawGlyph</a>(int x, int y, int width, int height, const BGlyph* glyph) const;</td></tr>
			<tr><td align="right">void </td><td><a href="#drawBackground(State)">drawBackground</a>(State state = State_None);</td></tr>
			<tr><td align="right">void </td><td><a href="#drawBorder(State)">drawBorder</a>(State state = State_None);</td></tr>
			<tr><td align="right">void </td><td><a href="#drawPerch(State)">drawPerch</a>(State state = State_None);</td></tr>
			<tr><td align="right">void </td><td><a href="#drawMargin(State)">drawMargin</a>(State state = State_None);</td></tr>
		</table>
		<div id="desc">
			<h2>Detailed Description : </h2>
			<p>The BPainter class performs painting on widgets and other paint devices. BPainter provides highly optimized functions to do most of the drawing GUI programs require.</p>
			<p>It should be used in BWidget::paintEvent(), first BPainter need to initialized with widget eg BPainter painter(widget).</p>
		</div>
		<h2 id="docs">Member Documentation</h2>
		<div id="BPainter(const BWidget*)">
			<h3>BPainter(const BWidget* widget);</h3>
			<p>Constructs a painter that begins painting the paint widget immediately. The painter will prepare draw states.</p>
		</div>
		<div id="BPainter(const BDisplay*)">
			<h3>BPainter(const BDisplay* display);</h3>
		</div>
		<div id="~BPainter()">
			<h3>~BPainter();</h3>
		</div>
		<div id="widget()">
			<h3>const BWidget* widget() const;</h3>
		</div>
		<div id="style()">
			<h3>const BStyle* style() const;</h3>
		</div>
		<div id="setClip(int, int, int, int)">
			<h3>void setClip(int x, int y, int width, int height);</h3>
			<p>Sets the clip region to the given rectangle using the given clip operation. The default operation is to replace the current clip rectangle. Any graphic drawn out of this region will be ignored.</p>
		</div>
		<div id="setClip(const BRect&)">
			<h3>void setClip(const BRect& clip);</h3>
			<p>Sets the clip region to the given rectangle using the given clip operation. The default operation is to replace the current clip rectangle. Any graphic drawn out of this region will be ignored.</p>
		</div>
		<div id="clip()">
			<h3>const BRect& clip() const;</h3>
			<p>Get current clip region.</p>
		</div>
		<div id="setColor(const BColor&)">
			<h3>bool setColor(const BColor& color) const;</h3>
		</div>
		<div id="setColor(BByte, BByte, BByte,BByte)">
			<h3>bool setColor(BByte r, BByte g, BByte b, BByte a = 255) const;</h3>
		</div>
		<div id="setColor(StyleRole)">
			<h3>bool setColor(StyleRole colorRole) const;</h3>
		</div>
		<div id="setColor(const char*)">
			<h3>bool setColor(const char* colorName) const;</h3>
		</div>
		<div id="color()">
			<h3>const BColor& color() const;</h3>
		</div>
		<div id="setTexture(BTexture*)">
			<h3>void setTexture(BTexture* texture);</h3>
			<p>Bind a texture for folllowing drawing.</p>
		</div>
		<div id="bind(BWidget*)">
			<h3>void bind(BWidget* widget);</h3>
			<p>Bind a widget as a texture.</p>
		</div>
		<div id="bind(BCamera*)">
			<h3>void bind(BCamera* camera);</h3>
			<p>Bind a camera as a texture.</p>
		</div>
		<div id="unbind()">
			<h3>void unbind();</h3>
			<p>Bind empty texture, the following painting won't has texture.</p>
		</div>
		<div id="setFont(const BFont*)">
			<h3>void setFont(const BFont* font);</h3>
		</div>
		<div id="font()">
			<h3>const BFont* font() const;</h3>
		</div>
		<div id="setPointSmooth(bool)">
			<h3>void setPointSmooth(bool pointSmooth);</h3>
		</div>
		<div id="pointSmooth()">
			<h3>bool pointSmooth() const;</h3>
		</div>
		<div id="setPointSize(int)">
			<h3>void setPointSize(int size);</h3>
		</div>
		<div id="pointSize()">
			<h3>int pointSize() const;</h3>
		</div>
		<div id="setLineSmooth(bool)">
			<h3>void setLineSmooth(bool lineSmooth);</h3>
		</div>
		<div id="lineSmooth()">
			<h3>bool lineSmooth() const;</h3>
		</div>
		<div id="setLineWidth(int)">
			<h3>void setLineWidth(int width);</h3>
		</div>
		<div id="lineWidth()">
			<h3>int lineWidth() const;</h3>
		</div>
		<div id="drawPoint(const BPoint&)">
			<h3>void drawPoint(const BPoint& point) const;</h3>
		</div>
		<div id="drawPoint(int, int)">
			<h3>void drawPoint(int x, int y) const;</h3>
		</div>
		<div id="drawLine(const BLine2&)">
			<h3>void drawLine(const BLine2& line) const;</h3>
		</div>
		<div id="drawLine(const BPoint&, const BPoint&)">
			<h3>void drawLine(const BPoint& p0, const BPoint& p1) const;</h3>
		</div>
		<div id="drawLine(int, int, int, int)">
			<h3>void drawLine(int x0, int y0, int x1, int y1) const;</h3>
		</div>
		<div id="drawLines(const BPoint*, int)">
			<h3>void drawLines(const BPoint* points, int size) const;</h3>
		</div>
		<div id="drawLines(const BPointArray&)">
			<h3>void drawLines(const BPointArray& points) const;</h3>
		</div>
		<div id="drawLineLoop(const BPoint*, int)">
			<h3>void drawLineLoop(const BPoint* points, int size) const;</h3>
		</div>
		<div id="drawLineLoop(const BPointArray&)">
			<h3>void drawLineLoop(const BPointArray& points) const;</h3>
		</div>
		<div id="drawLineStrip(const BPoint*, int)">
			<h3>void drawLineStrip(const BPoint* points, int size) const;</h3>
		</div>
		<div id="drawLineStrip(const BPointArray&)">
			<h3>void drawLineStrip(const BPointArray& points) const;</h3>
		</div>
		<div id="drawTriangle(int, int, int, int, int, int)">
			<h3>void drawTriangle(int x0, int y0, int x1, int y1, int x2, int y2);</h3>
		</div>
		<div id="drawTriangle(const BPoint&, const BPoint&, const BPoint&)">
			<h3>void drawTriangle(const BPoint& p0, const BPoint& p1, const BPoint& p2);</h3>
		</div>
		<div id="fillTriangle(int, int, int, int, int, int)">
			<h3>void fillTriangle(int x0, int y0, int x1, int y1, int x2, int y2);</h3>
		</div>
		<div id="fillTriangle(const BPoint&, const BPoint&, const BPoint&)">
			<h3>void fillTriangle(const BPoint& p0, const BPoint& p1, const BPoint& p2);</h3>
		</div>
		<div id="drawRect(const BRect&)">
			<h3>void drawRect(const BRect& rect) const;</h3>
		</div>
		<div id="drawRect(const BPoint&, const BSize&)">
			<h3>void drawRect(const BPoint& pos, const BSize& size) const;</h3>
		</div>
		<div id="drawRect(int, int, int, int)">
			<h3>void drawRect(int x, int y, int width, int height) const;</h3>
		</div>
		<div id="fillRect(const BRect&)">
			<h3>void fillRect(const BRect& rect) const;</h3>
		</div>
		<div id="fillRect(const BPoint&, const BSize&)">
			<h3>void fillRect(const BPoint& pos, const BSize& size) const;</h3>
		</div>
		<div id="fillRect(int, int, int, int)">
			<h3>void fillRect(int x, int y, int width, int height) const;</h3>
		</div>
		<div id="drawPolygon(const BPoint*, int)">
			<h3>void drawPolygon(const BPoint* points, int size) const;</h3>
		</div>
		<div id="drawPolygon(const BPointArray&)">
			<h3>void drawPolygon(const BPointArray& points) const;</h3>
		</div>
		<div id="fillPolygon(const BPoint*, int)">
			<h3>void fillPolygon(const BPoint* points, int size) const;</h3>
		</div>
		<div id="fillPolygon(const BPointArray&)">
			<h3>void fillPolygon(const BPointArray& points) const;</h3>
		</div>
		<div id="drawCircle(int, int, int)">
			<h3>void drawCircle(int x, int y, int radius) const;</h3>
		</div>
		<div id="drawCircle(const BPoint&, int)">
			<h3>void drawCircle(const BPoint& center, int radius) const;</h3>
		</div>
		<div id="fillCircle(int, int, int)">
			<h3>void fillCircle(int cx, int cy, int radius) const;</h3>
		</div>
		<div id="fillCircle(const BPoint&, int)">
			<h3>void fillCircle(const BPoint& center, int radius) const;</h3>
		</div>
		<div id="drawEllipse(const BPoint&, int, int)">
			<h3>void drawEllipse(const BPoint& center, int radiusX, int radiusY) const;</h3>
		</div>
		<div id="drawEllipse(int, int, int, int)">
			<h3>void drawEllipse(int x, int y, int width, int height) const;</h3>
		</div>
		<div id="drawEllipse(const BPoint&, const BSize&)">
			<h3>void drawEllipse(const BPoint& pos, const BSize& size) const;</h3>
		</div>
		<div id="drawEllipse(const BRect&)">
			<h3>void drawEllipse(const BRect& rect) const;</h3>
		</div>
		<div id="fillEllipse(int, int, int, int)">
			<h3>void fillEllipse(int x, int y, int width, int height) const;</h3>
		</div>
		<div id="fillEllipse(const BPoint&, const BSize&)">
			<h3>void fillEllipse(const BPoint& pos, const BSize& size) const;</h3>
		</div>
		<div id="fillEllipse(const BRect&)">
			<h3>void fillEllipse(const BRect& rect) const;</h3>
		</div>
		<div id="drawGraph(const BRect&, Graph)">
			<h3>void drawGraph(const BRect& rect, Graph graph);</h3>
		</div>
		<div id="fillGraph(const BRect&, Graph)">
			<h3>void fillGraph(const BRect& rect, Graph graph);</h3>
		</div>
		<div id="drawText(const BPoint&, const BString&)">
			<h3>void drawText(const BPoint& pos, const BString& text);</h3>
		</div>
		<div id="drawText(int, int, const BString&)">
			<h3>void drawText(int x, int y, const BString& text);</h3>
		</div>
		<div id="drawText(const BRect&, const BString&,bool)">
			<h3>void drawText(const BRect& rect, const BString& text, bool autoWrap = false) const;</h3>
		</div>
		<div id="drawText(const BPoint&, const BSize&, const BString&,bool)">
			<h3>void drawText(const BPoint& pos, const BSize& size, const BString& text, bool autoWrap = false) const;</h3>
		</div>
		<div id="drawText(int, int, int, int, const BString&,bool)">
			<h3>void drawText(int x, int y, int width, int height, const BString& text, bool autoWrap = false) const;</h3>
			<p>Draw text in BRect(x, y, width, height), if autoWrap is true and code is out of region right, the indicator will jump to next line as a '\n'.</p>
		</div>
		<div id="drawText(const BRect&, const BString&, Align,bool)">
			<h3>void drawText(const BRect& rect, const BString& text, Align align, bool autoWrap = true) const;</h3>
		</div>
		<div id="drawText(const BPoint&, const BSize&, const BString&, Align,bool)">
			<h3>void drawText(const BPoint& pos, const BSize& size, const BString& text, Align align, bool autoWrap = false) const;</h3>
		</div>
		<div id="drawText(int, int, int, int, const BString&, Align,bool)">
			<h3>void drawText(int x, int y, int width, int height, const BString& text, Align align, bool autoWrap = false) const;</h3>
			<p>Draw text in BRect(x, y, width, height), real text rect will be adjusted for align, if autoWrap is true and code is out of region right, the indicator will jump to next line as a '\n'.</p>
		</div>
		<div id="drawImage(const BRect&, const BImage*,bool)">
			<h3>void drawImage(const BRect& rect, const BImage* image, bool wrapped = false) const;</h3>
			<p>Draw image in given region, if wrapped is true it will try to scale image size to given region, otherwise simplly draw rect.</p>
		</div>
		<div id="drawImage(const BPoint&, const BSize&, const BImage*,bool)">
			<h3>void drawImage(const BPoint& pos, const BSize& size, const BImage* image, bool wrapped = false) const;</h3>
		</div>
		<div id="drawImage(int, int, int, int, const BImage*,bool)">
			<h3>void drawImage(int x, int y, int width, int height, const BImage* image, bool wrapped = false) const;</h3>
			<p>Draw image in rect(x, y, width, height), if wrapped is true real image rect will be scaled to input rect.</p>
		</div>
		<div id="drawGlyph(const BPoint&, const BGlyph*)">
			<h3>void drawGlyph(const BPoint& pos, const BGlyph* glyph) const;</h3>
		</div>
		<div id="drawGlyph(int, int, const BGlyph*)">
			<h3>void drawGlyph(int x, int y, const BGlyph* glyph) const;</h3>
		</div>
		<div id="drawGlyph(const BRect&, const BGlyph*)">
			<h3>void drawGlyph(const BRect& rect, const BGlyph* glyph) const;</h3>
		</div>
		<div id="drawGlyph(const BPoint&, const BSize&, const BGlyph*)">
			<h3>void drawGlyph(const BPoint& pos, const BSize& size, const BGlyph* glyph) const;</h3>
		</div>
		<div id="drawGlyph(int, int, int, int, const BGlyph*)">
			<h3>void drawGlyph(int x, int y, int width, int height, const BGlyph* glyph) const;</h3>
		</div>
		<div id="drawBackground(State)">
			<h3>void drawBackground(State state = State_None);</h3>
		</div>
		<div id="drawBorder(State)">
			<h3>void drawBorder(State state = State_None);</h3>
		</div>
		<div id="drawPerch(State)">
			<h3>void drawPerch(State state = State_None);</h3>
		</div>
		<div id="drawMargin(State)">
			<h3>void drawMargin(State state = State_None);</h3>
		</div>
	</body>
</html>